package com.luyuan.crm.user.service;

import java.util.List;

import org.hibernate.criterion.Order;

import com.ruijie.components.security.model.AppUser;
import com.ruijie.foundation.annotation.DomainService;
import com.ruijie.foundation.query.Page;
import com.ruijie.foundation.query.criteria.CriteriaTemplate;

@DomainService
public interface UserMemberService {


	AppUser getById(String id);

	/**
	 * <p>
	 * Description: 修改帐号信息
	 * </p>
	 * <p>
	 * Create Time: 2012-7-23
	 * </p>
	 * 
	 * @author Administrator
	 * @param loginName
	 * @param password
	 */
	void updatePassword(String loginName, String password);


	Page pagedQuery(CriteriaTemplate criteria, int pageNo, int pageSize,
			List<Order> orders);
}
